package top.ucat.x.system.service.management;

import top.ucat.box.starter.mybatis.plus.base.service.BaseCrudService;
import top.ucat.x.system.entity.SysRole;
import top.ucat.x.system.entity.SysUser;
import top.ucat.x.system.entity.beans.UserInfoDto;

/**
 * @Auther: Jun
 * @Date: 2020/4/3 12:35
 * @Description:
 */
public interface SysUserService extends BaseCrudService<SysUser> {

    /**
     * 获取用户信息
     *
     * @param userCode
     * @return
     */
    SysUser getUserByUserCode(String userCode);


    /**
     * 获取用户信息
     *
     * @param userId
     * @return
     */
    UserInfoDto getUserInfoDto(String userId);


}
